package com.study.houserent.service;

import com.study.houserent.domain.House;

public class HouseService {
    private House[] house;

    public HouseService(int size) {
        house = new House[size];
        house[0] = new House(1,"Lynch", "189**", "江东街道", 1200, "已出租");
    }

    public House[] list() {
        return house;
    }
}
